package com.example.user.feign;

import com.usian.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value = "leadnews-admin")
public interface AdminFeign {
    @GetMapping("/ad_user/v1/user_by_id")
    ResponseResult getAdUserById(@RequestParam Integer userId);
}
